# Replication Archive

Rachel Myrick and William Marble. 2025. "Foreign Policy Failures and the Attractiveness of Great Powers: Global Public Opinion after the US Withdrawal from Afghanistan." British Journal of Political Science.

This archive contains code to replicate the analyses in the paper. The primary analysis is an event study using global public opinion data from the Gallup World Poll. Unfortunately, due to data licensing agreements, we cannot redistribute the raw data. We have included a list of variables that are in the dataset that we used for the analysis, `GWP_Variables.csv`. 

For information about the Gallup World Poll, please see these links:

https://guides.library.upenn.edu/gallup
https://www.gallup.com/analytics/318875/global-research.aspx


The appendix also contains quantitative text analysis of BBC headlines surrounding the time of the Afghanistan withdrawal. The code to scrape and analyze these headlines is included. We also include the output of the scraper in Data/bbc-headlines to enable replication of the STM results without re-running the scraper. We ran the scraper on August 27, 2025. 

Finally, we include the full set of source files for figures and tables in the paper.